#ifndef CMAP_H
    #define CMAP_H
 
#include <SDL.h>
#include <vector>
 
#include "CTile.h"
#include "CSurface.h"
 
class CMap
{
    public:
        CMap();
        SDL_Surface* Surf_Tileset;

        bool OnLoad(char* File);
        void OnRender(SDL_Surface* Surf_Display, int MapX, int MapY);
        CTile* GetTile(int X, int Y);
        
    private:
        std::vector<CTile> TileList;
};
 
#endif